{include file="public/header" /}
<body class="bgc">
<div class="header">
    <i class="layui-icon layui-icon-left"></i> 投诉建议
</div>

<ul class="complaint-list tpl_list"></ul>

<script id="template" type="text/html">
    {{# for(var i=0;i < d.data.length ;i++){ }}
    <li>
        <p class="flex-layout">提交时间：{{d.data[i].create_time}} <span>{{d.data[i].rcomment?'已处理':"处理中"}}</span>
        </p>
        <div class="content">
            {{d.data[i].comment}}
        </div>
        {{# if(d.data[i].images){ }}
        <ul class="complaint-imgs">
            <li>
                <img src="{{d.data[i].images}}" alt="" style="width: 100px;margin: 10px">
            </li>
        </ul>
        {{# } }}
        {{# if(d.data[i].rcomment){ }}
        <div class="reply">
            <p>客服回复：</p>
            <div>
                {{d.data[i].rcomment}}
            </div>
        </div>
        {{# } }}
    </li>
    {{# } }}
</script>
</body>
{include file="public/footer"/}
<script>
    $(function () {
        getFlow(1, "{:url('message/getList')}");
    });

</script>
</html>